/* 
 * AUTHOR: Kevin Lam
 */

package com.apps.datastore.dao;

import com.apps.datastore.dao.ContactInformationObject.CARRIER;

public class AccountObject {

	//IDENTIFICATION
	private String email;
	private String password;
	private boolean activated;
	private String authkey;
	
	//PREFERENCES
	private long notifyConfig;
	private String phoneNumber;
	private CARRIER carrier;
	
	public AccountObject(String email, String password, boolean activated,
			String authkey, long notifyConfig, String phoneNumber,
			CARRIER carrier) {
		super();
		this.email = email;
		this.password = password;
		this.activated = activated;
		this.authkey = authkey;
		this.notifyConfig = notifyConfig;
		this.phoneNumber = phoneNumber;
		this.carrier = carrier;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isActivated() {
		return activated;
	}

	public void setActivated(boolean activated) {
		this.activated = activated;
	}

	public String getAuthkey() {
		return authkey;
	}

	public void setAuthkey(String authkey) {
		this.authkey = authkey;
	}

	public long getNotifyConfig() {
		return notifyConfig;
	}

	public void setNotifyConfig(long notifyConfig) {
		this.notifyConfig = notifyConfig;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public CARRIER getCarrier() {
		return carrier;
	}

	public void setCarrier(String carrier) {
		this.carrier = CARRIER.get(carrier);
	}

	

}
